import { get, post } from '../utils/request'
const headers = {
  'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8'
}
export const loginAPI = (data) => {
  return post('/passport/admin/login', data, { headers })
}
// 获取管理员信息
export const adminInfoAPI = () => {
  return get('/admin/basic/role/detail')
}
